package io.renren.modules.substation.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.substation.dao.TSampNoiseBaseInfoHisDao;
import io.renren.modules.substation.entity.TSampNoiseBaseInfoHisEntity;
import io.renren.modules.substation.service.TSampNoiseBaseInfoHisService;


@Service("tSampNoiseBaseInfoHisService")
public class TSampNoiseBaseInfoHisServiceImpl extends ServiceImpl<TSampNoiseBaseInfoHisDao, TSampNoiseBaseInfoHisEntity> implements TSampNoiseBaseInfoHisService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TSampNoiseBaseInfoHisEntity> page = this.page(
                new Query<TSampNoiseBaseInfoHisEntity>().getPage(params),
                new QueryWrapper<TSampNoiseBaseInfoHisEntity>()
        );

        return new PageUtils(page);
    }

}